<!DOCTYPE html>
<html>
<head>
    <%if(data.length!=0){%>
    <title><%=data[0].parent.name %></title>
    <%}%>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <% include ../../common/public.ejs %>
    <style>
        .fa-angle-right {
            position: absolute;
            top: 20%;
            right: 10px;
        }
    </style>
    <link rel="stylesheet" href="//cdn.bootcss.com/weui/1.1.1/style/weui.min.css">
    <link rel="stylesheet" href="//cdn.bootcss.com/jquery-weui/1.0.1/css/jquery-weui.min.css">
    <link href="<%= global.config.path.publicPath %>/custom/css/articleTemplate.css" rel="stylesheet">
</head>
<body>
<link rel="stylesheet" href="//cdn.bootcss.com/weui/1.1.1/style/weui.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/jquery-weui/1.0.1/css/jquery-weui.min.css">

<div class="npc-news-container">
    <%if(data.length!=0){%>
    <% for(let i = 0;i < data.length;i++){ %>
    <a href="<%= global.config.path.contextPath %>/fengqi/article<%= data[i].pageType %>?bookcase=<%= data[i]._id %>">
        <div class="npc-news-list">
            <div class="npc-news-panel weui-flex">
                <span class="icon fa fa-question-circle npc-leftFa" style="font-size:24px;"></span>
                <div class="npc-news-title ">
                    <p class="npc-title-font"><%= data[i].name %></p>
                </div>
                <span class="icon fa fa-angle-right" style="font-size:24px;"></span>
            </div>
        </div>
    </a>
    <% } %>
    <%}else {%>
    <img src="<%=global.config.path.publicPath%>/custom/images/icon/nomore.png" alt="" class="noMore">
    <h2 class="text-center">暂无更多内容啦</h2>
    <%}%>
</div>
<script src="//cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
<script src="//cdn.bootcss.com/jquery-weui/1.0.1/js/jquery-weui.min.js"></script>
<script src="//cdn.bootcss.com/jquery-weui/1.0.1/js/swiper.min.js"></script>
<script src="<%= global.config.path.publicPath %>/custom/js/articleTemplate.js"></script>

</body>
</html>
